public class Test {
    public static int func() {
        try{
            return 10;
        }catch (NullPointerException e){

        }finally {
            return 20;
        }

    }
    public static void main(String[] args) {
        int b=func();
        System.out.println(b);
    }
}
